package com.yantong.mapper;

import com.yantong.pojo.InformationGZHTemplate;
import com.yantong.pojo.InformationGZHTemplateExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface InformationGZHTemplateMapper {
    long countByExample(InformationGZHTemplateExample example);

    int deleteByExample(InformationGZHTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(InformationGZHTemplate record);

    int insertSelective(InformationGZHTemplate record);

    List<InformationGZHTemplate> selectByExample(InformationGZHTemplateExample example);

    InformationGZHTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") InformationGZHTemplate record, @Param("example") InformationGZHTemplateExample example);

    int updateByExample(@Param("record") InformationGZHTemplate record, @Param("example") InformationGZHTemplateExample example);

    int updateByPrimaryKeySelective(InformationGZHTemplate record);

    int updateByPrimaryKey(InformationGZHTemplate record);

    /**
     * 分页查询
     *
     * @param informationGZHTemplate 参数信息
     * @param rowBounds              分页参数信息
     * @return java.util.List<com.jz.user.domain.InformationGZHTemplate>
     * @author TaoHao
     * @date 2021/3/9 14:25
     */
    List<InformationGZHTemplate> queryList(InformationGZHTemplate informationGZHTemplate, RowBounds rowBounds);

    /**
     * 查询总条数
     *
     * @param informationGZHTemplate 参数信息
     * @return int
     * @author TaoHao
     * @date 2021/3/9 14:25
     */
    int queryCount(InformationGZHTemplate informationGZHTemplate);

    /**
     * 查找详情
     *
     * @param id 主键id
     * @return com.jz.user.domain.InformationGZHTemplate
     * @author TaoHao
     * @date 2021/3/9 14:25
     */
    InformationGZHTemplate findDetail(Long id);
}